//
//  ViewController.m
//  gitSample
//
//  Created by lanou3g on 15/11/17.
//  Copyright © 2015年 LiuFei. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [self.view setBackgroundColor:[UIColor magentaColor]];
    //huqiuyue
    UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem];
    button.frame = CGRectMake(0, 0, 30, 30);
    button.backgroundColor = [UIColor brownColor];
    [self.view addSubview:button];
    
    //胡秋月
    UIButton *button2 = [UIButton buttonWithType:UIButtonTypeSystem];
    button2.frame = CGRectMake(0, 0, 30, 30);
    button2.backgroundColor = [UIColor brownColor];
    [self.view addSubview:button2];
    
    //Men
    UITextField *textFiled = [[UITextField alloc]initWithFrame:CGRectMake(100, 300, 200, 100)];
    textFiled.backgroundColor = [UIColor orangeColor];
    [self.view addSubview:textFiled];
    
    

    UIView *view = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];
    [view setBackgroundColor:[UIColor orangeColor]];
    [self.view addSubview:view];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
